package com.itheima.blog.web.service;


import com.itheima.blog.web.domain.po.TComment;
import com.itheima.blog.web.domain.vo.CommentVO;


import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.common.domain.PageReqDto;
import com.itheima.common.domain.PageResDto;

import com.itheima.common.domain.PageResDto;
import com.itheima.common.domain.R;
import com.itheima.common.domain.dto.CommentPageDto;
import com.itheima.common.domain.po.ResComment;

import java.util.List;
import com.itheima.blog.web.domain.po.TComment;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 评论表 服务类
 * </p>
 *
 * @author hyf
 * @since 2023-07-12
 */
public interface ITCommentService extends IService<TComment> {

    Long getComments();

    PageResDto<CommentVO> myCommentPage(PageReqDto pageReqDto);

    PageResDto<CommentVO> otherCommentPage(PageReqDto pageReqDto);

    void rmMyComment(Long id);


    R getBlogComment(Long blogId);

    R getRejectComment(Long blogId, Long commentId);

    PageResDto<ResComment> getCommentList(CommentPageDto commentPageDto);

    void deleteCommentByIds(List<Integer> ids);
}
